<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Daniel
  Date: 2019/4/23
  Time: 22:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>员工列表</title>
</head>
<body>

    <table>
        <thead>
        <th>
            <td>id</td>
            <td>lastName</td>
            <td>gender</td>
            <td>email</td>
        </th>
        </thead>
        <tbody>
            <c:forEach items="${employeeList}" var="employee">
                <tr>
                    <td>${employee.id}</td>
                    <td>${employee.lastName}</td>
                    <td>${employee.gender}</td>
                    <td>${employee.email}</td>
                </tr>
            </c:forEach>

        </tbody>

    </table>

</body>
</html>
